package com.icbc.digitalwallet.service;

import com.icbc.digitalwallet.pojo.VO.TransVO;
import com.icbc.digitalwallet.pojo.entity.BankAccount;
import com.icbc.digitalwallet.pojo.entity.Card;
import com.icbc.digitalwallet.pojo.entity.DigitalWallet;
import com.baomidou.mybatisplus.extension.service.IService;
import com.icbc.digitalwallet.pojo.entity.TransFlow;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tx
 * @since 2021-07-17
 */
public interface DigitalWalletService extends IService<DigitalWallet> {

    void reCharge(String walletId, TransVO transVO);

    DigitalWallet getUserInfoById(String id);

    void withDraw(String walletId, TransVO transVO);

    List<TransFlow> getTransFlow(String id,Integer type);

    List<BankAccount> getCardsInfo(String id);

    String getRechargeKey();

}
